<?php echo Modules::run('content/header_content') ?> 
<style type="text/css">
      .form-signin {
        max-width: 400px;
        padding: 19px 29px 29px;
        margin: 50px auto;
        background-color: #fff;
        border: 1px solid #e5e5e5;
        -webkit-border-radius: 5px;
           -moz-border-radius: 5px;
                border-radius: 5px;
        -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
           -moz-box-shadow: 0 1px 2px rgba(0,0,0,.05);
                box-shadow: 0 1px 2px rgba(0,0,0,.05);
	    background:#EFEFEF;
      }
      .form-signin .form-signin-heading,
      .form-signin .checkbox {
        margin-bottom: 10px;
      }
      .form-signin input[type="text"],
      .form-signin input[type="password"] {
        height: auto;
        padding: 7px 9px;
      }
      hr{
		margin: 15px 0;
		border: 0;
		border-top: 1px solid #EEE;
		border-bottom: 1px solid #FFF;
		}

</style>
		<div class="form-signin">
		<?php
		$nama_toko = array(
			'name'	=> 'nama_toko',
			'id'	=> 'nama_toko',
			'value'	=> set_value('nama_toko'),
			'maxlength'	=> 80,
			'size'	=> 30,
			'class' => 'input-block-level',
		);
		?>
		
    <?php //echo validation_errors(); ?>
		
		<?php echo form_open($this->uri->uri_string(), 'name="form" id="login-form"'); ?>
        
			<h2 class="form-signin-heading">Your Store</h2>
			
			<?php echo form_label('Store Name <span style="color: red;">*</span>', $nama_toko['id']); ?>
			<?php echo form_input($nama_toko); ?>
			<label class="error"><?php echo form_error($nama_toko['name']); ?></label>
            <?php echo isset($errors[$nama_toko['name']])? '<span style="color:#E91510">'.$errors[$nama_toko['name']].'</span>' : ''; ?>
			
			<?php echo form_submit('submit', 'Create Store','class="btn btn-primary" type="submit"'); ?>
			
			
		<?php echo form_close(); ?>
		</div>
      </div>

      <div id="push"></div>
    </div>

<?php echo Modules::run('content/footer_content') ?>